package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.LdcodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-16 10:55:58
 */
public interface LdcodeService {
	
	LdcodeEntity queryObject(String code);
	
	List<LdcodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(LdcodeEntity ldcode);
	
	void update(LdcodeEntity ldcode);
	
	void delete(String code);
	
	void deleteBatch(String[] codes);
}
